using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter38
{
	/// <summary>
	/// Example03: Limiting Resolution of a Microscope
	/// Light of wavelength 589 nm is used to view an 
	/// object under a microscope. If the aperture of the
	/// objective has a diameter of 0.9 cm,
	/// (A)
	/// what is the limiting angle of resolution?
	/// (B)
	/// If it were possible to use visible light of any
	/// wavelength, what would be the maximum limit of 
	/// resolution for this microscope?
	/// </summary>
	public class Example03
	{
		public Example03()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Optics obj = new L.Optics();
			obj.WaveLength = 589.0E-9;
			obj.DiameterOfAperture = 0.9E-2;
			obj.ResolutionOfCircularAperture();
			result+=Convert.ToString(obj.MinimumAngleOfResolution)+"\r\n";
		}
	}
}
